package com.hydl.power.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@Api(value = "City", description = "城市")
public class City {
    private Integer id;
    @ApiModelProperty("城市id")
    private String cityId;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty("城市编码")
    private String cityCode;

    private List<Project> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public List<Project> getChildren() {
      return children;
    }

    public void setChildren(List<Project> children) {
      this.children = children;
    }

  @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", cityId='" + cityId + '\'' +
                ", cityName='" + cityName + '\'' +
                '}';
    }
}
